<script setup>
import { ref } from "vue";
const active = ref(0);
</script>
<template>
  <div>
    <van-tabbar v-model="active" route>
      <van-tabbar-item icon="home-o" to="/home">选课</van-tabbar-item>
      <van-tabbar-item icon="search" to="/myke">我的课</van-tabbar-item>
      <!-- <van-tabbar-item icon="friends-o">喵屋</van-tabbar-item> -->
      <!-- <van-tabbar-item icon="setting-o">工具</van-tabbar-item> -->
      <van-tabbar-item icon="cashier-o" to="/my">我的</van-tabbar-item>
    </van-tabbar>
  </div>
  <Router-view />
</template>
<style lang="scss" scoped></style>
